<script type="text/javascript" src="${base}/scripts/tool/pinyin.js"></script>
<script type="text/javascript" src="${base}/scripts/sfgl/fksh_xstk_content.js"></script>

<form id="form_fksh" action="${base}/sfgl/fksh/fksh" method="post">
    <input id="fksh_id" name="fksh.id" type="hidden" value="${(fksh.id)!''}"/>
    <input name="fksh.zt" type="hidden" value="${(fksh.zt)!''}"/>
    <input  name="fksh.qtfk" type="hidden" value="${(fksh.qtfk)!''}"/>
    <input id="fksh_qtfk" name="qtfk" type="hidden" value="${(qtfk)!''}"/>
    <div  class="easyui-tabs">
        <div title="基本信息">
            <table style="width:100%" class="tb tab-t">
                <col width="20%"/><col width="23%"/><col width="22.5%"/><col width="34.5%"/>
                <tr>
                    <th>单&nbsp;据&nbsp;&nbsp;号：</th>
                    <td colspan="3">
                        <input id="fksh_bm" name="fksh.bm" type="hidden" class="input-text readonly"
                               style="width:493px;background-color:#F8F8FF;font-weight: bold"
                               readonly="readonly" value="${(fksh.bm)!}"/>
                        <span>${(fksh.bm)!}</span>
                    </td>
                </tr>
                <tr>
                    <th style="color:#f45212;">付款类型：</th>
                    <td>
                        <label><input name="fksh.sfklx" type="radio" value="1" checked="checked" required="true"
                                      style="vertical-align: middle;"/>&nbsp;供应付款</label>
                        <label><input name="fksh.sfklx" type="radio" value="2" required="true"
                                      <#if (fksh.sfklx)?? && fksh.sfklx==2>checked</#if> style="vertical-align: middle;"/>&nbsp;销售退款 </label>
                    </td>
                    <th style="color:#f45212;"> 票据类型：</th>
                    <td>
                        <input idVal="fksh_pjlx_id" name="fksh.pjlx.id" class="input-text" type="text"
                               required="true" value="${(fksh.pjlx.id)!''}"/>
                    </td>
                </tr>
                <tr>
                    <th style="color:#f45212;">
                        <span id="fksh_gys" style="display: block;">供&nbsp;应&nbsp;&nbsp;商：</span>
                        <span id="fksh_kh"  style="display: none;">客户名称：</span>
                    </th>
                    <td>
                        <input type="hidden" id="fkdw_id" value="${(fksh.gldw.id)!}"/>
                        <input type="hidden" id="fkdw_jc" value="${(fksh.gldw.qc)!}"/>
                        <input id="fksh_gldw_id" style="width:350px;"  name="fksh.gldw.id"
                               required="true" type="text" value="${(fksh.gldw.id)!''}" class="input-text"/>
                    </td>
                    <th style="color:#f45212;">付款日期：</th>
                    <td>
                        <input name="fksh.sfkrq" type="text"class="easyui-datebox input-text"
                               required="true" value="${(fksh.sfkrq?date)!''}"  />
                    </td>
                </tr>
                <tr>
                    <th style="color:#f45212;">款项类型：</th>
                    <td>
                <span id ="fklx3" style="display: none;">
                <label><input name="fksh.kxlx" type="radio" value="3" checked
                              style="vertical-align: middle;" />预&nbsp; &nbsp;收&nbsp; &nbsp;款</label>
                </span>
                <span id ="fklx4" style="display: none;">
                    <label><input name="fksh.kxlx" type="radio" value="4"
                                  <#if (fksh.kxlx)?? && fksh.kxlx==4>checked</#if> style="vertical-align: middle;"/>应&nbsp; &nbsp;收&nbsp; &nbsp;款 </label>
                </span>
                <span id ="fklx1" style="display: inline;" >
                    <label><input name="fksh.kxlx" type="radio" value="1"   <#if (fksh.kxlx)?? && fksh.kxlx==1> checked</#if>
                                  style="vertical-align: middle;" />预&nbsp; &nbsp;付&nbsp; &nbsp;款</label>
                <span>
                <span id ="fklx2" style="display: inline;" >
                    <label><input name="fksh.kxlx" type="radio" value="2"
                    <#if (fksh.kxlx)?? && fksh.kxlx==2> checked</#if> style="vertical-align: middle;"/>应&nbsp; &nbsp;付&nbsp; &nbsp;款 </label>
                 <span>
                    </td>
                    <th style="color:#f45212;">付款金额：</th>
                    <td>
                        <input id="fksh_sfje" name="sfje" type="text"  style="width:128px;"
                               class="easyui-numberbox input-text"
                               data-options="precision:4,min:0"
                               required="true"
                               value="${(fksh.sfje?string("0.00"))!''}"/>（元）
                    </td>
                </tr>
                <tr>
                    <th style="color:#f45212;">款项用途：</th>
                    <td>
                        <input idVal="fksh_kxyt_id" name="fksh.kxyt.id" class="input-text" type="text"
                               required="true" value="${(fksh.kxyt.id)!'132'}"/>
                    </td>
                    <th>申报公司：</th>
                <#--<td colspan="3">-->
                <#--<input id="fksh_sbgs_id" name="fksh.sbgs.id" type="text" class="input-text"-->
                <#--value="<#if fksh??>${(fksh.sbgs.id)!}<#else>${(zggsId)!}</#if>"/>-->
                <#--</td>-->
                    <td>
                        <input id="fksh_sbgs_id"  type="hidden" name="fksh.sbgs.id" class=" input-text" value="${(fksh.sbgs.id)!}"
                                >
                        <input type="text"  class=" input-text" value="${(fksh.sbgs.jc)!} " readonly="readonly"
                                >
                    </td>
                </tr>
                <tr>
                <#--<th>申报部门：</th>-->
                <#--<td>-->
                <#--&lt;#&ndash;<input type="hidden" id="fksh_sbbm"&ndash;&gt;-->
                <#--&lt;#&ndash;value="<#if fksh??>${(fksh.sbbm.id)!}<#elseif gsId!=zggsId>${(gsId)!}</#if>"/>&ndash;&gt;-->
                <#--&lt;#&ndash;<input id="fksh_sbbm_id" name="fksh.sbbm.id" type="text" class="easyui-combobox input-text"&ndash;&gt;-->
                <#--&lt;#&ndash;data-options="valueField:'id',textField:'jc'" value=""/>&ndash;&gt;-->
                <#--<input type="hidden" name="fksh.sbbm.id" class=" input-text" value="${(fksh.sbbm.id)!}"-->
                <#-->-->
                <#--<input type="text"  class=" input-text" value="${(fksh.sbbm.jc)!}"-->
                <#--readonly="readonly" >-->
                <#--</td>-->
                    <th>申&nbsp;报&nbsp;&nbsp;人：</th>
                    <td>
                        <input type="hidden" name="fksh.sbr.id" class=" input-text" value="${(fksh.sbr.id)!}"
                                >
                        <input type="text"  class=" input-text" value="${(fksh.sbr.xm)!}"
                               readonly="readonly" >
                    </td>
                </tr>
                <tr>
                    <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
                    <td>
                        <textarea style="width:626px;" rows="2" class="textarea" name="fksh.bz">${(fksh.bz)!}</textarea>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</form>
